CFLAGS = -std=c++17 -I ../build/release-install-cpp11/include/
LFLAGS = -L ../build/release-install-cpp11/lib/ -ljsoncpp -lmuduo_net -lmuduo_base -pthread


.PHONY:all
all: server client

server:testserver.cc
	g++ -o $@ $^ $(CFLAGS) $(LFLAGS)
client:testclient.cc
	g++ -o $@ $^ $(CFLAGS) $(LFLAGS)


.PHONY:clean
clean:
	rm -f server client